package com.hippo.core.dao;

import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: hippo
 */
@Mapper
public interface ElementDao {

    int countElement(JSONObject obj);

    List<JSONObject> getElementList(JSONObject obj);

    int addElement(JSONObject obj);

    int deleteElement(String id);

    Integer getCountByName(JSONObject obj);

    int updateElement(JSONObject obj);

}
